package com.mifengs.mall.ui.main;

import com.mifengs.commonbase.base.BasePresenter;
import com.mifengs.commonbase.base.BaseView;
import com.mifengs.mall.entity.FloorBean;

import java.util.List;

/**
 * Created by lihaoqi on 2018/4/18.
 */

public interface FloorFrgContract {

    interface View extends BaseView {
        void setFloors(List<FloorBean> beanList,boolean isLoadOver);
        void setMoreFloors(List<FloorBean> beanList,boolean isLoadOver);
        String getTabId();
        void finishRefresh();
        void loadMoreComplete();
        void setLikeFloors(List<FloorBean> beanList);
        void setMoreLikeFloors(List<FloorBean> beanList);
        void loadMoreFail();
        void refreshloading();
        int getItemCount();
        boolean isFirst();
        void setFirst(boolean isFirst);

    }

    interface Presenter extends BasePresenter {
        void getData(int pageNo,boolean isrefresh);
        void getLikeGoods(int pageNo);
    }

}
